﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Barebones.Framework;

namespace BareboneTests.Counters
{
    class NoneCounter : CounterComponent
    { }

    class UpdateableCounter : CounterComponent, IUpdateable
    {
        public int UpdateCount
        { get; set; }

        public void Update(float dt)
        {
            UpdateCount++;
        }
    }

    class DraweableCounter : CounterComponent, IDrawable
    {
        public int DrawCount
        { get; set; }

        public void Draw()
        {
            DrawCount++;
        }
    }

    class BothCounter : CounterComponent, IUpdateable, IDrawable
    {
        public int DrawCount
        { get; set; }

        public int UpdateCount
        { get; set; }

        public void Draw()
        {
            DrawCount++;
        }

        public void Update(float dt)
        {
            UpdateCount++;
        }
    }


}
